package com.wenjie.original.entity.vo.SysConfig;

import com.wenjie.original.entity.SysConfig;
import com.wenjie.original.entity.common.vo.IUpVo;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

public class SysConfigUpOrAddVo {

    @Data
    public static class UpVo extends baseVo implements IUpVo<SysConfig> {

        @NotNull
        private Long sysConfigId;

    }

    @Data
    public static class AddVo extends baseVo implements IUpVo<SysConfig> {
        @Null
        private Long sysConfigId;

    }

    @Data
    private static class baseVo extends SysConfig {
        public void setCreateTime(Long createTime) {
        }

        public void setUpdateTime(Long updateTime) {
        }

        public void setVersion(Long version) {
        }

        public void setDelFlag(Long delFlag) {
        }

    }

}
